package team.knowers.qzhserver.common.exception;


import team.knowers.qzhserver.common.api.ResultCode;

/**
 * 自定义API异常
 *
 * @author xtg
 * @date 2024/2/11 21:56
 */
public class ApiException extends RuntimeException {
    public ApiException(ResultCode resultCode) {
        super(resultCode.getMessage());
    }

    public ApiException(String message) {
        super(message);
    }
}
